﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Xyz.BusinessObjects.Validation;

namespace Xyz.BusinessObjects
{
    public class AircraftSeat : BusinessObject
	{

        public AircraftSeat()
        {
            AddRule(new ValidateMandatory("SeatTypeCode"));
            AddRule(new ValidateMandatory("SeatNo"));
            AddRule(new ValidateMandatory("AircraftId"));
           
        }
        public int AircraftSeatId { get; set; }
        public int AircraftId { get; set; }
        public string SeatTypeCode { get; set; }
        public string SeatNo { get; set; }
        public int SeatRow { get; set; }
        public string SeatColumn { get; set; }
        public bool? IsWindowSeat { get; set; }
        public bool? IsAisleSeat { get; set; }
        public int? RewardPoint { get; set; }
        public List<SeatType> SeatTypes { get; set; }	
	}
}


